package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizCollageDetail;

/**
 * @description (拼团详情)
 * @author 何明
 * @date 2018-05-23 00:08
 */
public interface BizCollageDetailDao{

	public int insert(@Param("item") BizCollageDetail bizCollageDetail);
   	
   	public int batchInsert(@Param("list") List<BizCollageDetail> bizCollageDetailList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizCollageDetail bizCollageDetail);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String detId);

	public int deleteByModel(@Param("record") BizCollageDetail bizCollageDetail);
	
	public List<BizCollageDetail> selectInPage(@Param("record") BizCollageDetail bizCollageDetail, @Param("pageVo") PaginationVO pageVo);

	public List<BizCollageDetail> selectByModel(@Param("record") BizCollageDetail bizCollageDetail);
	
	public int selectTotalRecord(@Param("record") BizCollageDetail bizCollageDetail);
	
	public BizCollageDetail  selectById(String detId);
	
	public BizCollageDetail  selectForUpdate(String detId);
	
}